package com.langfeiyes.pattern.bridge;

/**
 * 抽象部分
 * 定义操作规则，具体实现由Implementor实现
 */
public abstract class Abstraaction {
    private Implementor implementor;
    public Abstraaction(Implementor implementor) {
        this.implementor = implementor;
    }
    //业务操作规则
    protected void operation(){
        implementor.operation();
    }
}
